/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.health.entity;


import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 输血史Entity
 * @author xueyx
 * @version 2017-07-20
 */
public class TransfuseRec extends DataEntity<TransfuseRec> {
	
	private static final long serialVersionUID = 1L;
	private String address;		// address
	private String baseInfo;		// base_info
	private String describes;		// describes
	private String time;		// time
	
	public TransfuseRec() {
		super();
	}

	public TransfuseRec(String id){
		super(id);
	}

	@Length(min=0, max=255, message="address长度必须介于 0 和 255 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=255, message="base_info长度必须介于 0 和 255 之间")
	public String getBaseInfo() {
		return baseInfo;
	}

	public void setBaseInfo(String baseInfo) {
		this.baseInfo = baseInfo;
	}
	
	@Length(min=0, max=255, message="describes长度必须介于 0 和 255 之间")
	public String getDescribes() {
		return describes;
	}

	public void setDescribes(String describes) {
		this.describes = describes;
	}
	
	@Length(min=0, max=255, message="time长度必须介于 0 和 255 之间")
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
}